#include <unistd.h>
#include "Test.h"

int main(int argc, char *argv[])
{
	std::string s[] = {"/home/king/Test/img", "/home/king/tmp"};
	while (argc > 1) {
		--argc;
		s[argc]	= argv[argc];
	}
	Test t(s, 2);
	__useconds_t tt = 1000000 / 60;
	while (1) {
		usleep(tt);
		t.update();
	}
	return 0;
}
